﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyBanHang
{
    public partial class FormInDrillThrought : Form
    {
        public FormInDrillThrought()
        {
            InitializeComponent();
        }

        private void printControl1_Load(object sender, EventArgs e)
        {

        }

        private void FormInDrillThrought_Load(object sender, EventArgs e)
        {
            XtraReportDrillThroghtKH_HD drillthrought = new XtraReportDrillThroghtKH_HD();
            printControl1.PrintingSystem = drillthrought.PrintingSystem;
            drillthrought.CreateDocument();
        }
    }
}
